// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0

import { NotThere } from "file_not_there.slint";
//                       ^error{Cannot find requested import "file_not_there.slint" in the include search path}

import { NotExported } from "../../typeloader/incpath/local_helper_type.slint";
//                          ^error{No exported type called 'NotExported' found in "../../typeloader/incpath/local_helper_type.slint"}

import { Nothing } from "";
//                      ^error{Unexpected empty import url}

  import "../../typeloader/incpath/local_helper_type.slint";
//^error{Import names are missing. Please specify which types you would like to import}

import "myimage.png";
//     ^error{Unsupported foreign import "myimage.png"}

import ".";
//     ^error{Unsupported foreign import "📂/tests/syntax/imports/"}

export X := Rectangle {
//       ^warning{':=' to declare a component is deprecated. The new syntax declare components with 'component MyComponent {'. Read the documentation for more info}

}
